<?PHP
mp("Popup Module Loaded");

	$popout_content=new content;
	if($conf->qm[0]=='popout')
	{	
		
		mp('Empty Pop out');
		$popout_content->where['status']='enabled';
		$popout_content->where['type']='video';
		$popout_content->input['LIMITDATE']='true';
		$popout_content->options['order'][0]='start';
		$popout_content->options['order'][1]='desc';
		$popout_content->get_content();
	//	$popout_content->get_content_addons();
		$view=true;
		$content=$popout_content->data;
		//print_r($popout_content->data);
		$conf->page_render='assets/pages/popout.php';
	}
?>